import { requestClient } from '#/api/request';

const invokeTool = (invokeToolConfig: any) => {
  return requestClient.post(
    '/dsc-systemMS/dsc-geoAnalysis/submitGATask',
    invokeToolConfig,
  );
};

const getTask = (taskId: any) => {
  return requestClient.get(`/dsc-systemMS/dsc-geoAnalysis/getGATask/${taskId}`);
};

export default {
  invokeTool,
  getTask,
};
